<template>
  <view class="">
    <view class="scroll-row">
      <view class="" v-for="(item, index) in listData" :key="index">
        <slot :data="item"></slot>
      </view>
    </view>
    <view class="loadingicon acea-row row-center-wrapper" v-if="goodScroll">
      <text
        class="loading iconfont icon-jiazai"
        :hidden="loading == false"
      ></text>
    </view>
    <view style="display: flex;justify-content: center;color: 999;font-size: 24rpx;"> 
      <text v-if="!goodScroll" style="text-align: center">我是有底线的</text>
    </view>
  </view>
</template>

<script>
export default {
  props: {
    /** 列表数据量 */
    listData: {
      type: Array,
      default: () => [],
    },

    /** loading */
    loading: {
      type: Boolean,
      default: false,
    },
    /** 数据是否显示完全 */
    goodScroll: {
      type: Boolean,
      default: false,
    },
  },
};
</script>

<style></style>
